//
//  DMCollectionCell.m
//  DMCollectionView
//
//  Created by Apple on 2017/7/4.
//  Copyright © 2017年 Xwg. All rights reserved.
//

#import "DMCollectionCell.h"

@interface DMCollectionCell ()
@property (weak, nonatomic) IBOutlet UILabel *tempIndexLabel;
@property (weak, nonatomic) IBOutlet UILabel *indexLabel;
@end
@implementation DMCollectionCell

- (void)setIndex:(NSInteger)index {
    _index = index;
    
    self.indexLabel.text = [NSString stringWithFormat:@"实际index：%ld", self.index];
}

- (void)setTempIndex:(NSInteger)tempIndex {
    _tempIndex = tempIndex;
    self.tempIndexLabel.text = [NSString stringWithFormat:@"临时index：%ld", self.tempIndex];
}

@end
